package com.gzx.bi.modular.screen.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

//bi自动刷新配置类
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "biscreen")
public class BiScreenConfig {
    @Value("${biscreen.history-success-case}")
    private int historyMediationSuccessCaseTotal;
    @Value("${biscreen.history-success-rate}")
    private double historyMediationSuccessRate;
    @Value("${biscreen.case-money}")
    private long caseMoney;
}
